home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / results.dxr / 00043_Tool Box.ls < prev    next >
Encoding:
Text File  |  2000-01-31  |  894 b   |  39 lines

  1. on PackWithReturns
  2.   xMember = "results field"
  3.   xText = EMPTY
  4.   repeat with rc = 1 to 759
  5.     xText = xText & RETURN
  6.   end repeat
  7.   member(xMember).text = xText
  8. end
  9.  
  10. on tellloc startsprite, endSprite
  11.   if voidp(endSprite) then
  12.     endSprite = startsprite
  13.   end if
  14.   repeat with rc = startsprite to endSprite
  15.     if the memberNum of sprite rc = 0 then
  16.       put "‚Ä¢‚Ä¢ Blank"
  17.       next repeat
  18.     end if
  19.     put rc, member(the memberNum of sprite rc).name, the loc of sprite rc
  20.   end repeat
  21. end
  22.  
  23. on tellrect startsprite, endSprite
  24.   if voidp(endSprite) then
  25.     endSprite = startsprite
  26.   end if
  27.   repeat with rc = startsprite to endSprite
  28.     if the memberNum of sprite rc = 0 then
  29.       put "‚Ä¢‚Ä¢ Blank"
  30.       next repeat
  31.     end if
  32.     put rc, member(the memberNum of sprite rc).name, the rect of sprite rc
  33.   end repeat
  34. end
  35.  
  36. on Jat p1, p2, p3, p4, p5, p6
  37.   put p1, p2, p3, p4, p5, p6
  38. end
  39.